package com.zzj.bill.mapper;

import java.util.List;
import com.zzj.bill.domain.BillShop;
import org.apache.ibatis.annotations.Param;

/**
 * shopMapper接口
 *
 * @author ruoyi
 * @date 2022-01-26
 */
public interface ShopMapper
{
    /**
     * 查询shop
     *
     * @param id shop主键
     * @return shop
     */
    public BillShop selectShopById(Integer id);

    /**
     * 查询shop列表
     *
     * @param billShop shop
     * @return shop集合
     */
    public List<BillShop> selectShopList(BillShop billShop);

    /**
     * 新增shop
     *
     * @param billShop shop
     * @return 结果
     */
    public int insertShop(BillShop billShop);

    /**
     * 修改shop
     *
     * @param billShop shop
     * @return 结果
     */
    public int updateShop(BillShop billShop);

    /**
     * 删除shop
     *
     * @param id shop主键
     * @return 结果
     */
    public int deleteShopById(Integer id);

    /**
     * 批量删除shop
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopByIds(Integer[] ids);

    /**
     * 根据店铺ids 获取所有的店铺信息
     * @param shopIds
     * @return
     */
    List<BillShop> beathSelectByShopIds(@Param("shopIds") List<Integer> shopIds);


}
